package com.culture.config.model.po;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Range;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain=true)
@NoArgsConstructor
public class JobStatusUpdatePO {
    @NotNull(message = "id can't be empty.")
    Long id;   
    @Range(min=0,max=2,message = "must be 0 or 1,2")
    Integer scheduleStatus;
}
